/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lu.med.praxiswahl.wahlumed.service.beans.serviceinterface;

import lu.med.praxiswahl.wahlumed.model.beans.CodeRatesIntervalTBL;

/**
*
* @author Patrick kendzo
* Email: pkendzo@msn.com
*/
public interface CodeRateIntervalServiceInt {

    public static final int RET_OPERATION_DONE_PROPERLY = 0;
    public static final int RET_OPERATION_FAILED = 1;
    
    
	public void getCodeRateInteval(Long id);
	public CodeRatesIntervalTBL getCoderRateIntervalByID(Long id);
	public int createCodeRateInterval(String fromDate, String toDate);
	public int deleteCodeRateInterval(Long id);
	public int updateCodeRateInterval(Long id, String fromDate, String toDate);
	
	public String getfromDate();
	public String getToDate();
	
	public void setFromDate(String fromDate);
	public void setToDate(String toDate);
	
	public Long getAvailableInterval();
}
